
#pragma once

#include "../ql/ql.h"
#include "../ql/qleval.h"
#include "error.h"

struct RuleEngineContext;
typedef struct RuleEngineContext RuleEngineContext;

RuleEngineContext *
create_rule_engine( AllocContext * alloc_ctx );

void
free_rule_engine( RuleEngineContext * rule_engine );

bool
add_rule_engine_functions( EvalContext * evaluator, RuleEngineContext * rule_engine );

